import { Module } from '@nestjs/common';
import { GoodService } from './good.service';
import { GoodController } from './good.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Good } from './entities/good.entity';
import { GoodType } from '../good-type/entities/good-type.entity';
import { Spec } from '../spec/entities/spec.entity';
import { Sku } from '../sku/entities/sku.entity';

@Module({
  imports:[TypeOrmModule.forFeature([Good,GoodType,Spec,Sku])],
  controllers: [GoodController],
  providers: [GoodService],
})
export class GoodModule {}
